
package com.fast.fastenjoy.base.verify.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.fast.fastenjoy.base.verify.rule.VerifyRule;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface VerifyField{

	public String title();
	
	public boolean unique() default false;

	public boolean nullable() default true;
	
	public String table() default "";
	
	public int length() default 0;
	
	public String columnName() default "";
	
	public VerifyRule verifyRule() default VerifyRule.EMPTY;
	
	public String custVerifyRule() default "";
	
}
